package com.example.fileserver_API.Interfaces.IService.WorkBench;

import com.example.fileserver_API.Entity.Dto.PageParmar.PageParmar;
import com.example.fileserver_API.Entity.PO.sysappsettings;
import com.example.fileserver_API.Entity.VO.APIResult;

import java.util.List;

public interface ISysSettingService {
    /**
     * 分页获取策略
     * @param pageParmar 分页
     * @return APIResult
     */
    APIResult GetSysSetting(PageParmar pageParmar);

    /**
     * 添加一个策略
     * @param sysappsettings 策略内容
     * @return APIResult
     */
    APIResult AddSysSetting(sysappsettings sysappsettings);

    /**
     * 修改一个策略
     * @param sysappsettings 策略内容
     * @return APIResult
     */
    APIResult UpdateSysSetting(sysappsettings sysappsettings);

    /**
     * 删除策略
     * @param guid 策略编号
     * @return APIResult
     */
    APIResult DeleteSysSetting(String guid);
}
